# 计算两个相隔日期的天数
import datetime

input_time = "1993-03-15"
birthday = datetime.datetime.strptime(input_time, "%Y-%m-%d")
print(birthday, type(birthday))

current_time = datetime.datetime.now()
diftime = current_time - birthday
print(diftime, type(diftime))

print(diftime.days)

print(diftime.days/365)

